#ifndef SERVICE_H_
#define SERVICE_H_

#include <pistache/router.h>
#include "search.h"

using namespace Pistache;

class Service {
public:
    Service();
    virtual ~Service();

    void TestGet(const Rest::Request & request, Http::ResponseWriter response);
    void TestPost(const Rest::Request & request, Http::ResponseWriter response);
    void IndexPage(const Rest::Request & request, Http::ResponseWriter response);
    void NextMove(const Rest::Request & request, Http::ResponseWriter response);

private:
    Search *mSearch;
};


#endif
